home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / member < prev    next >
Text File  |  2001-04-06  |  425b  |  14 lines

  1. SYNOPSIS
  2.         int member(mixed *array, mixed elem)
  3.         int member(mapping m, mixed key)
  4.         int member(string s, int elem)
  5.  
  6. DESCRIPTION
  7.         For arrays and strings, returns the index of the second arg in
  8.         the first arg, or -1 if none found. For mappings it checks, if
  9.         key is present in mapping m and returns 1 if so, 0 if key is
  10.         not in m.
  11.  
  12. SEE ALSO
  13.         member_array(E), mappings(LPC)
  14.